package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperBLog implements Serializable {
    /**
     * 模块名称
     */
    private String tag;

    /**
     * 操作类容
     */
    private String actionContent;

    /**
     * 操作者
     */
    private String author;

    /**
     * 插入时间
     */
    private Date indate;

    private static final long serialVersionUID = 1L;

    /**
     * 模块名称
     */
    public String getTag() {
        return tag;
    }

    /**
     * 模块名称
     */
    public void setTag(String tag) {
        this.tag = tag;
    }

    /**
     * 操作类容
     */
    public String getActionContent() {
        return actionContent;
    }

    /**
     * 操作类容
     */
    public void setActionContent(String actionContent) {
        this.actionContent = actionContent;
    }

    /**
     * 操作者
     */
    public String getAuthor() {
        return author;
    }

    /**
     * 操作者
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * 插入时间
     */
    public Date getIndate() {
        return indate;
    }

    /**
     * 插入时间
     */
    public void setIndate(Date indate) {
        this.indate = indate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tag=").append(tag);
        sb.append(", actionContent=").append(actionContent);
        sb.append(", author=").append(author);
        sb.append(", indate=").append(indate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperBLog other = (SuperBLog) that;
        return (this.getTag() == null ? other.getTag() == null : this.getTag().equals(other.getTag()))
            && (this.getActionContent() == null ? other.getActionContent() == null : this.getActionContent().equals(other.getActionContent()))
            && (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getTag() == null) ? 0 : getTag().hashCode());
        result = prime * result + ((getActionContent() == null) ? 0 : getActionContent().hashCode());
        result = prime * result + ((getAuthor() == null) ? 0 : getAuthor().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        return result;
    }
}